#ifndef __DIALOG_H__
#define __DIALOG_H__

#include "widget.h"

/** Create a dialog window
 * \param text: text to diaplay in titlebar and taskbar.
 * \param x: coordinate (-1 to use default x coordinat)
 * \param y: coosingate (-1 to use default y coordinat)
 * \param width: size
 * \param height: size
 * \return: a pointer to the widget
 */
EXPORT widget_t *create_dialog(char*,int32_t,int32_t,uint32_t,uint32_t);

/** Get the dialog text
 * \param self: point to the dialog widget
 * \param text: pointer to the dialog text
 */
EXPORT void dialog_set_text(widget_t*,char*);

/** Callback function, fill the background
 * \param self: pointer to the dialog widget
 * \param hdc: handle to the dialogs device context
 */
void dialog_paint(widget_t*,HDC);

#endif

